#!/usr/bin/env python
# encoding: utf-8
# @author: Lin Han
# @contact: voldemort22@126.com
# @file: update_01_20210508.py
# @time: 2021/5/8 10:08
# @desc:
from .utils.mongo_tools import retrieve_all_mongo_values
from .views.configs import SCENE_COLLECTION

scenes = retrieve_all_mongo_values(
    {},
    collection_name=SCENE_COLLECTION,
)


for i in scenes:
    try:
        int(i["name"])
    except:
        print(i)
